

setInterval(function () {
    var h1 = 23;
    var m1 = 59;
    var s1 = 59;
    var h = h1-new Date().getHours();
    var m = m1-new Date().getMinutes();
    var s = s1-new Date().getSeconds();

    if (h<10) {
        hh.innerHTML='0'+h;
    }else {
        hh.innerHTML=h;
    }
    if (m<10) {
        mm.innerHTML='0'+m;
    }else {
        mm.innerHTML=m;
    }
    if (s<10) {
        ss.innerHTML='0'+s;
    }else {
        ss.innerHTML=s;
    }
},1000)